#ifndef __WPTH_ARTSTATICTEXT_H__
#define __WPTH_ARTSTATICTEXT_H__

#include "defs.h"

class ArtPanel;

class ArtStaticText : public wxControl
{
public:
	ArtStaticText() {}
	ArtStaticText(ArtPanel *parent,
		wxWindowID id,
		const wxString& label,
		const wxPoint& pos = wxDefaultPosition,
		const wxSize& size = wxDefaultSize,
		long style = wxNO_BORDER,
		const wxString& name = wxStaticTextNameStr);
	virtual ~ArtStaticText() {}

	bool SetFont(const wxFont& font);
	void SetLabel(const wxString& label);
	bool SetForegroundColour(const wxColour& colour);

protected:
	void OnPaint(wxPaintEvent& event);
	void OnSize(wxSizeEvent& event);
	void OnEraseBackground(wxEraseEvent& event);

	wxSize DoGetBestSize() const;

protected:
	ArtPanel* m_artPanel;

	DECLARE_CLASS(ArtStaticText)
	DECLARE_EVENT_TABLE()
};

#endif